﻿using System;

namespace MessagePack.Decoders
{
	// Token: 0x02000090 RID: 144
	internal class Float32Double : IDoubleDecoder
	{
		// Token: 0x06000265 RID: 613 RVA: 0x0000B4D3 File Offset: 0x000098D3
		private Float32Double()
		{
		}

		// Token: 0x06000266 RID: 614 RVA: 0x0000B4DC File Offset: 0x000098DC
		public double Read(byte[] bytes, int offset, out int readSize)
		{
			readSize = 5;
			Float32Bits float32Bits = new Float32Bits(bytes, offset + 1);
			return (double)float32Bits.Value;
		}

		// Token: 0x040000B4 RID: 180
		internal static readonly IDoubleDecoder Instance = new Float32Double();
	}
}
